package com.ruoyi.squadweb.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 战队排名对象 faction_ranking
 *
 * @author ruoyi
 * @date 2024-07-19
 */
public class FactionRanking extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 战队id */
    private String teamId;

    /** 战队名字 */
    @Excel(name = "战队名字")
    private String teamName;

    /** 战队简称 */
    @Excel(name = "战队简称")
    private String teamAbbreviation;

    /** 战队logo */
    @Excel(name = "战队logo")
    private String teamLogo;

    /** 胜场 */
    @Excel(name = "胜场")
    private Long wins;

    /** 败场 */
    @Excel(name = "败场")
    private Long losses;

    /** 总场次 */
    @Excel(name = "总场次")
    private Long totalMatches;

    /** 胜率 */
    @Excel(name = "胜率")
    private BigDecimal winRate;

    /** 排名 */
    @Excel(name = "排名")
    private Long ranking;

    /** 热度 */
    @Excel(name = "热度")
    private Long popularity;

    public void setTeamId(String teamId)
    {
        this.teamId = teamId;
    }

    public String getTeamId()
    {
        return teamId;
    }
    public void setTeamName(String teamName)
    {
        this.teamName = teamName;
    }

    public String getTeamName()
    {
        return teamName;
    }
    public void setTeamAbbreviation(String teamAbbreviation)
    {
        this.teamAbbreviation = teamAbbreviation;
    }

    public String getTeamAbbreviation()
    {
        return teamAbbreviation;
    }
    public void setTeamLogo(String teamLogo)
    {
        this.teamLogo = teamLogo;
    }

    public String getTeamLogo()
    {
        return teamLogo;
    }
    public void setWins(Long wins)
    {
        this.wins = wins;
    }

    public Long getWins()
    {
        return wins;
    }
    public void setLosses(Long losses)
    {
        this.losses = losses;
    }

    public Long getLosses()
    {
        return losses;
    }
    public void setTotalMatches(Long totalMatches)
    {
        this.totalMatches = totalMatches;
    }

    public Long getTotalMatches()
    {
        return totalMatches;
    }
    public void setWinRate(BigDecimal winRate)
    {
        this.winRate = winRate;
    }

    public BigDecimal getWinRate()
    {
        return winRate;
    }
    public void setRanking(Long ranking)
    {
        this.ranking = ranking;
    }

    public Long getRanking()
    {
        return ranking;
    }
    public void setPopularity(Long popularity)
    {
        this.popularity = popularity;
    }

    public Long getPopularity()
    {
        return popularity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("teamId", getTeamId())
            .append("teamName", getTeamName())
            .append("teamAbbreviation", getTeamAbbreviation())
            .append("teamLogo", getTeamLogo())
            .append("wins", getWins())
            .append("losses", getLosses())
            .append("totalMatches", getTotalMatches())
            .append("winRate", getWinRate())
            .append("ranking", getRanking())
            .append("popularity", getPopularity())
            .toString();
    }
}
